package com.zhihao.zhihaopicturebackend.model.dto.picture;

import com.zhihao.zhihaopicturebackend.api.aliyunai.model.CreateOutPaintingTaskRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author Jackson
 * @create 2025/1/7 17:51
 * @description AI 扩图请求类(对项目中已有图片进行智能扩图)
 */
//@ApiModel("AI 扩图请求类")
@Data
public class CreatePictureOutPaintingTaskRequest implements Serializable {

    /**
     * 图片 id
     */
    @ApiModelProperty(value = "图片id")
    @NotNull(message = "id 不能为空")
    @Min(value = 1, message = "id 不能为负数")
    private Long pictureId;

    /**
     * 扩图参数
     */
    private CreateOutPaintingTaskRequest.Parameters parameters;

    private static final long serialVersionUID = 1L;
}

